import { BasicColumn } from '@/components/Table';
export interface ListData {
  id: number;
  name: string;
  bank: string;
  bank_number: string;
  contacts: string;
  contact_mobile: string;
  registrant: string;
  created_at: string;
}

export const columns: BasicColumn<ListData>[] = [
  {
    title: '编号',
    key: 'id',
    width: 100,
  },
  {
    title: '劳务公司名称',
    key: 'name',
    width: 120,
  },
  {
    title: '开户银行',
    key: 'bank',
    width: 100,
  },
  {
    title: '银行账号',
    key: 'bank_number',
    width: 120,
  },
  {
    title: '联系人',
    key: 'contacts',
    width: 120,
  },
  {
    title: '联系人电话',
    key: 'contact_mobile',
    width: 120,
  },
  {
    title: '登记人',
    key: 'registrant',
    width: 120,
  },
  {
    title: '登记日期',
    key: 'created_at',
    width: 120,
  },
];
